package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 罚单记录表
 * </p>
 *
 * @author lst
 * @since 2018-12-07
 */
@TableName("ticket_record")
public class Ticket implements Serializable{
    /**
     * 罚单id
     */
    @TableId(value = "TICKET_ID", type = IdType.ID_WORKER)
    private Long ticketId;
    /**
     * 罚单内容
     */
    @TableField(value = "TICKET_NOTE")
    private String ticketNote;
    /**
     * 罚单金额
     */
    @TableField(value = "TICKET_MONEY")
    private Double ticketMoney;

    /**
     * 罚单派发时间
     */
    @TableField(value = "TICKET_DATE")
    private Date ticketDate;

    public Long getTicketId() {
        return ticketId;
    }

    public void setTicketId(Long ticketId) {
        this.ticketId = ticketId;
    }

    public String getTicketNote() {
        return ticketNote;
    }

    public void setTicketNote(String ticketNote) {
        this.ticketNote = ticketNote;
    }

    public Double getTicketMoney() {
        return ticketMoney;
    }

    public void setTicketMoney(Double ticketMoney) {
        this.ticketMoney = ticketMoney;
    }

    public Date getTicketDate() {
        return ticketDate;
    }

    public void setTicketDate(Date ticketDate) {
        this.ticketDate = ticketDate;
    }

    @Override
    public String toString() {
        return "Ticket{" +
                "ticketId=" + ticketId +
                ", ticketNote='" + ticketNote + '\'' +
                ", ticketMoney='" + ticketMoney + '\'' +
                ", ticketDate=" + ticketDate +
                '}';
    }
}
